package org.lyh.gift.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TenantDTO {
    @NotNull(message = "店铺名称不能为空")
    private String shopName;
    @NotNull(message = "座机号不能为空")
    private String landline;
    @NotNull(message = "店铺位置不能为空")
    private String position;
    @NotNull(message = "店铺logo不能为空")
    private String logo;
    @NotNull(message = "管理员账户不能为空")
    private String account;
    @NotNull(message = "手机号不能为空")
    private String phone;
    @NotNull(message = "邮箱不能为空")
    private String email;
    @NotNull(message = "密码不能为空")
    private String checkPass;
}
